package com.wk.unreal.dingroomserver.mapper;

import com.wk.unreal.dingroomserver.entity.Usertbl;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UsertblMapper {

    /**
     * 通过账号查询
     * @param username 用户名
     * @return Usertbl
     */
    @Select("select  * from usertbl where username = #{username}")
    public Usertbl findByUsername(String username);

}
